feat(windows): use cmake to configure windows integration DLL version
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 9 May 2025 13:07:25 +0000 (15:07 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 30 May 2025 08:47:51 +0000 (10:47 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
shell_integration/windows/NCUtil/CMakeLists.txt
shell_integration/windows/NCUtil/Version.h.in

index 1b5610253799ec701254415e2c00da6ab27a6ae3..75972307f6957e29d92148c6e5a2788c976ed368 100644 (file)
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2018 ownCloud GmbH
+# SPDX-License-Identifier: LGPL-2.1-or-later
+configure_file(Version.h.in ${CMAKE_CURRENT_BINARY_DIR}/Version.h)
+
 add_library(NCUtil STATIC
     CommunicationSocket.cpp
     RemotePathChecker.cpp
index eb97edb912c53ae9b0ff93e4831155bccb96c16c..dac156b08daed606e32ec9b1de823c90c82e8b55 100644 (file)
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2016 ownCloud GmbH
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
 #pragma once
 
 // This is the number that will end up in the version window of the DLLs.